package com.xujl.mvcbind.bean;

import com.xujl.mvcbind.BR;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

/**
 * @author x
 * @Description
 */
public class CustomBean extends BaseObservable {
    private String imageUrl;
    private int state1;
    private int state2;
    private int state3;


    @Bindable
    public String getImageUrl () {
        return imageUrl;
    }

    public void setImageUrl (String imageUrl) {
        this.imageUrl = imageUrl;
        notifyPropertyChanged(BR.imageUrl);
    }

    @Bindable
    public int getState1 () {
        return state1;
    }

    public void setState1 (int state1) {
        this.state1 = state1;
        notifyPropertyChanged(BR.state1);
    }

    @Bindable
    public int getState2 () {
        return state2;
    }

    public void setState2 (int state2) {
        this.state2 = state2;
        notifyPropertyChanged(BR.state2);
    }

    @Bindable
    public int getState3 () {
        return state3;
    }

    public void setState3 (int state3) {
        this.state3 = state3;
        notifyPropertyChanged(BR.state3);
    }
}
